/*本地存储函数 */
export function getStorage(key){
    try{
      const value = uni.getStorageSync(key)
      return value ?  value : void 0
    } catch(e) {
      console.log(e)
    }
} 

export function setStorage(key,data){
  return uni.setStorageSync(key, data); 
}